<h3>Twitter.GetFriendsTimeline() Method</h3>

<p>Use the following code to retrieve the most recent statuses posted by the authenticating user and the user's they follow. See the Authentication Flow for instructions on how to obtain the user's Access Token and Secret.</p>
<p><i><strong>Note: </strong>This method is identical to GetHomeTimeline(), except that this method will only include retweets if the includeRetweets parameter is set.</p></i>

<pre class="codePre">
@@ {
    <strong>var timeline = Twitter.GetFriendsTimeline(token, tokenSecret);</strong>
    var grid = new WebGrid(timeline);
}
</pre>
@if (Session["token"] != null) {
    var timeline = Twitter.GetFriendsTimeline(Session["token"].ToString(), Session["secret"].ToString());
    var grid = new WebGrid(timeline);
    
    @SampleHelpers.RenderTimelineGrid(grid)                                      
}
else
{
    <div class="message info">
        You're not logged in with twitter, login using the button below.<br/><br/>
        @Twitter.LoginButton(callbackUrl : SampleHelpers.RetrieveCallbackUrl("GetFriendsTimeline"))
    </div>
}
